/* 卡片容器 */
.container {
  background-color: rgba(40, 40, 40, 0.8);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #444;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.container:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-color: #1890ff;
}

/* 作者信息区域 */
.authorSection {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #1890ff;
}

.authorInfo {
  display: flex;
  flex-direction: column;
}

.username {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.postTime {
  font-size: 12px;
  color: #aaa;
}

/* 内容区域 */
.contentSection {
  flex: 1;
}

.title {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
}

.content {
  margin: 0;
  color: #ddd;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  /* -webkit-line-clamp: 3; */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 标签样式 */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  background-color: rgba(24, 144, 255, 0.2);
  color: #1890ff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* 统计信息 */
.stats {
  display: flex;
  gap: 20px;
  border-top: 1px solid #444;
  padding-top: 12px;
  margin-top: 10px;
}

.statItem {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aaa;
  font-size: 13px;
}

.statIcon {
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .title {
    font-size: 16px;
  }

  .content {
    font-size: 13px;
  }

  .stats {
    gap: 15px;
  }
}
